package com.jk.vehicle.core.exception;

import com.jk.vehicle.core.constants.HttpCode;

/**
 * 无权限异常类
 *
 * @author KangJian
 * @date 2018/7/18
 */
public class AuthForbiddenException extends BaseException {
    public AuthForbiddenException() {
    }

    public AuthForbiddenException(String message) {
        super(message);
    }

    public AuthForbiddenException(String message, Throwable cause) {
        super(message, cause);
    }

    @Override
    protected HttpCode getCode() {
        return HttpCode.FORBIDDEN;
    }
}
